package mapper.user;

import org.apache.ibatis.annotations.Param;
import pojo.Address;
import pojo.SysUser;

import java.util.List;

public interface AddressMapper {

    public List<Address> list(@Param("contact") String contact,@Param("addressDesc") String addressDesc,@Param("tel") String tel);
    //添加地址
    public int add(Address address);

    //修改地址
    public int update(Address address);
    //删除地址
    public int deleteById(@Param("id")Integer id);
}
